<table>
  <?php foreach($valores as $valor){ ?>

  <tr>
    <td><?php echo($valor['i']); ?></td>
    <td><?php echo($valor['aposta']); ?></td>
    <td><?php echo($valor['saldo']); ?></td>
    <td><?php echo($valor['ganhei']); ?></td>

  </tr>
  <?php } ?>
</table>
